<?php if ( $_Usr->valid ) {
?>
	%%msg_user_signed%% <b><?php echo $_Usr->getUserName() ?></b> | <?php echo html_a("site/signout","%%msg_user_signout%%") ?>
<?php } elseif($_Usr->getError()) {
?>
	<b>%%msg_user_error%%</b>: %%msg_user_error_<?php echo $_Usr->getError() ?>%% <?php echo html_a("site/login", "%%msg_user_tryagain%%") ?>.
<?php } else {
?>
	[<?php echo html_a("site/login", "%%msg_user_signin%%") ?>]
<?php }
?>
